package org.kardigen.lg.service.server;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;

public class PMF {
	private static final PersistenceManagerFactory pmfInstance = JDOHelper
	      .getPersistenceManagerFactory("transactions-optional");

  private PMF() {
		pmfInstance.setDetachAllOnCommit(true);
	}

  public static PersistenceManagerFactory get() {
		return pmfInstance;
	}
}
